package weiy.top.modules.purchase.service;

import weiy.top.modules.purchase.entity.WmsPurchase;
import com.baomidou.mybatisplus.extension.service.IService;
import weiy.top.modules.purchase.vo.MergeVo;
import weiy.top.modules.purchase.vo.PurchaseDoneVo;

import java.util.List;

/**
 * @Description: wms_purchase
 * @Author: weihancheng
 * @Date:   2021-12-14
 * @Version: V1.0
 */
public interface IWmsPurchaseService extends IService<WmsPurchase> {

    /**
     * 合并采购请求
     * @param mergeVo
     */
    void mergePurchase(MergeVo mergeVo);

    /**
     * 领取采购单
     * @param ids
     */
    void received(List<Long> ids);


    /**
     * 员工领取已经被分配的采购单
     * @param purchaseIds
     */
    void receivePurchases(List<String> purchaseIds);

    /**
     * 完成采购单
     * @param doneVo
     */
    void donePurchases(PurchaseDoneVo doneVo);
}
